package com.eco.fanliapp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.entity.AppOrderDetail;
import com.eco.fanliapp.entity.AppOrderIntegral;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author jobob
 * @since 2019-12-25
 */
public interface IAppOrderIntegralService extends IService<AppOrderIntegral> {

    /**
     * 根据trade查询订单信息
     *
     * @param tradeId 订单ID
     * @return 订单信息
     */
    AppOrderIntegral selectAppOrderIntegralByTradeId(Long tradeId);

    /**
     * 新增订单
     *
     * @param appOrderIntegral 订单信息
     * @return 结果
     */
    int insertAppOrderIntegral(AppOrderIntegral appOrderIntegral);

}
